* {
    padding: 0;
    margin: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: #fff;
}

html {
    font-family: "Noto Sans SC Sliced", PingFangSC-Light, Microsoft YaHei UI, Microsoft YaHei, helvetica, sans-serif;
    font-weight: 400;
    color: #000;
}

form, input, button {
    padding: 0;
    margin: 0;
    border: none;
    outline: none;
    background: none;
}

input::-webkit-input-placeholder {
    color: #ccc;
    letter-spacing: 2px;
    font-size: 16px;
}

ul, li {
    display: block;
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

#content {
    width: 100%;
    height: 100%;
}

.con {
    width: 100%;
    max-width: 2400px;
    transition: 1s all;
    margin: auto;
    min-width: 320px;
    height: auto;
    position: absolute;
    left: 50%;
    top: 35%;
    transform: translate(-50%, -50%);
    padding: 20px;
    box-sizing: border-box;
}

.con .shlogo {
    position: relative;
    width: 100%;
    max-width: 480px;
    height: 120px;
    margin: 0 auto 40px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.con .shlogo>span {
    font-size: 50px;
    font-family: SimSun;
}

.con .shlogo a {
    display: block;
    width: 100%;
    height: 100%;
}

.con .sou {
    max-width: 680px;
    height: 50px;
    position: relative;
    width: 100%;
    min-width: 320px;
    margin: 0 auto;
}

.con .sou form {
    width: 100%;
    height: 50px;
    display: block;
    margin: 10px auto 30px;
    position: relative;
}

.sou form .se {
    width: 26px;
    height: 26px;
    display: block;
    position: absolute;
    z-index: 10;
    left: 13px;
    top: 12px;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    border-radius: 50%;
    color: #777;
    transition: all 0.3s ease;
}

.sou form .se:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

.con .sou form .wd {
    width: 100%;
    height: 100%;
    display: block;
    border: 1px solid #ddd;
    border-radius: 25px;
    line-height: 100%;
    text-indent: 50px;
    font-size: 18px;
}

.con .sou form .wd:focus {
    background: #fff;
    box-shadow: 0 1px 6px 0 rgba(32, 33, 36, 0.28);
    border-color: #fff;
}

.sou form .s {
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    z-index: 10;
    right: 6px;
    top: 6px;
    cursor: pointer;
    font-size: 22px;
    line-height: 40px;
    border-radius: 50%;
    color: #777;
}

.search-engine {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    max-width: 680px;
    background: #fff;
    padding: 15px 0 0 0;
    border-radius: 5px;
    box-shadow: 0 5px 20px #d8d7d7;
    transition: all 0.3s;
    display: none;
    z-index: 999;
}

.search-engine ul {
    padding: 0;
    height: 40px;
    margin: 0 auto;
    justify-content: left;
}

.search-engine ul::before {
    content: "";
    width: 0px;
    height: 0px;
    position: absolute;
    top: -15px;
    left: 20px;
    border-top: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    border-left: 8px solid transparent;
}

.search-engine-list li {
    float: left;
    width: 30px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 14px;
    left: 15px;
    padding: 2px 4px 2px 4px;
    margin: 0 2px 2px 0;
    background: #fff;
    color: #999;
    cursor: pointer;
    list-style: none;
    position: relative;
    border-radius: 50%;
}

.search-engine-list li img {
    width: 25px;
    height: 25px;
    border-radius: 15px;
    float: left;
    margin-right: 5px;
    margin-top: 2.5px;
}

@media (max-width: 640px) {
    .con {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 20px auto;
        padding: 10px;
    }
    .con .shlogo {
        width: 100%;
        max-width: 320px;
        height: 80px;
    }
    .con .shlogo>span {
        font-size: 40px;
    }
    .con .sou form .wd:focus {
        background: #f1f1f1;
        box-shadow: none;
        border-color: #ccc;
    }
    .con .sou form button {
        border-radius: 25px;
    }
    .quick-links img {
        width: 24px;
        height: 24px;
        margin: 0 8px;
    }
}

@media (max-height: 420px) {
    .con {
        position: relative;
        left: auto;
        top: auto;
        transform: none;
        margin: 10px auto;
        padding: 5px;
    }
    .con .sou form .wd {
        text-indent: 50px;
    }
    .con .shlogo {
        height: 60px;
        margin-bottom: 20px;
    }
    .con .shlogo>span {
        font-size: 30px;
    }
}

body {
    background: url("./") center center/cover fixed no-repeat;
}

.shlogo .yang {
    color: #2AA79B;
}

.shlogo .guang {
    color: #FEA92C;
}

.quick-links {
    margin-top: 4px;
    text-align: center;
    overflow: hidden;
    max-width: 1700px;
    margin-left: auto;
    margin-right: auto;
}

.quick-links.navigation-sites {
    margin-top: 4px;
}

.sou + .quick-links.navigation-sites {
    margin-top: 30px;
}

.quick-links.navigation-sites + .quick-links.navigation-sites {
    margin-top: 4px;
}

.quick-links.second-row {
    margin-top: 4px;
}

.quick-links img {
    width: 28px;
    height: 28px;
    margin: 4px 8px;
    vertical-align: middle;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.quick-links img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    filter: brightness(1.05);
}

.search-btn {
    width: 26px;
    margin-top: 5px;
}

/* Hover 显示图标，默认隐藏，避免页面杂乱 */
.quick-links {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    min-height: 40px; /* 确保容器有足够高度来触发hover */
}

/* 当鼠标悬停在容器或容器内任何元素上时显示 */
.quick-links:hover,
.quick-links.navigation-sites:hover {
    opacity: 1;
    transform: translateY(0);
}

/* 使用:has选择器确保悬停在子元素上时父容器也显示（现代浏览器支持） */
.quick-links:has(a:hover),
.quick-links:has(img:hover) {
    opacity: 1;
    transform: translateY(0);
}

/* 兼容性方案：确保悬停在链接上时，通过相邻选择器显示 */
.quick-links a {
    display: inline-block;
}

.quick-links a:hover {
    position: relative;
    z-index: 1;
}